Learn R Programming

darch (version 0.12.0)

setDropoutMask<-: Set the dropout mask for the given layer.

Description

Sets the dropout mask to be applied to the weights between layer i and i+1, for 0 < i < numLayers. For i = 0, sets the dropout mask for the input layer, which will be applied to the initiali input data.

Usage

setDropoutMask(darch, i) <- value

Arguments

darch
A instance of the class DArch.
i
Layer index or 0 for input layer.
value
Dropout mask for the given layer.

Value

The darch with the updated dropout mask

See Also

DArch